package lab02.test09;

public class Student {
    public static void main(String[] args) {

    }

    String Sno;
    String Cno;
    String name;
    String gender;
    String age;


    public String getSno() {
        return Sno;
    }

    public String getCno() {
        return Cno;
    }

    public String getName() {
        return name;
    }

    public String getGender() {
        return gender;
    }

    public String getAge() {
        return age;
    }

    Student(String sno, String cno, String name, String gender) {
        System.out.println("学号：" + getSno());
        System.out.println("班号：" + getCno());
        System.out.println("姓名：" + getName());
        System.out.println("性别：" + getGender());
        System.out.println("年龄：" + getAge());


    }
}
